package com.ternnetwork.core.notice.enums.messages;

public enum NoticeMessages {


	FAILED_MESSAGE_TITLE_CAN_NOT_BE_EMPTY(0,"操作失败,名称不能为空!"),
	FAILED_MESSAGE_HAS_BEEN_PUBLISHED(1,"操作失败,该通知已发布请勿重复发布!"),
	FAILED_MESSAGE_HAS_READER(2,"操作失败,该通知已有人阅读，无法编辑、删除、撤销发布!");

	private  Integer index;

	private  String name;

    private NoticeMessages(int index, String name) {
		this.index = index;
		this.name = name;
	}

    public int getIndex() {
		return index;
	}

	public void setIndex(int index) {
		this.index = index;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

 

}
